<?php
  /**
 * Elgg Quizz_c2i edit page
 *
 * @package ElggStatus
 * @author pole TICE 
 * @copyright UVSQ 2009
 * @link http://uvsq.com/
 */
  
  //permet a l'utilisateur d'editer son widget pour changer le domaine du C2i
?>

<?php echo elgg_echo("c2i:domaine");?>
<p>
	<select name="params[domaine]">
    <option value="all" <?php if($vars['entity']->domaine == "all") echo "SELECTED"; ?>> TOUS </option>
    <option value="A1"<?php if($vars['entity']->domaine == "A1") echo "SELECTED"; ?>> A1 </option>
    <option value="A2"<?php if($vars['entity']->domaine == "A2") echo "SELECTED"; ?>> A2 </option>
    <option value="B1"<?php if($vars['entity']->domaine == "B1") echo "SELECTED"; ?>> B1 </option>
    <option value="B2"<?php if($vars['entity']->domaine == "B2") echo "SELECTED"; ?>> B2 </option>
    <option value="B3"<?php if($vars['entity']->domaine == "B3") echo "SELECTED"; ?>> B3 </option>
    <option value="B4"<?php if($vars['entity']->domaine == "B4") echo "SELECTED"; ?>> B4 </option>
    <option value="B5"<?php if($vars['entity']->domaine == "B5") echo "SELECTED"; ?>> B5 </option>
    <option value="B6"<?php if($vars['entity']->domaine == "B6") echo "SELECTED"; ?>> B6 </option>
    <option value="B7"<?php if($vars['entity']->domaine == "B7") echo "SELECTED"; ?>> B7 </option> 
  </select>
</p>
